#include <stdio.h>

struct database { /* define structure*/
	int id_number;
	int age;
	float salary;
};

int main()
{
	struct database demo;
	struct database *pdemo;

	demo.id_number = 12;
	demo.age = 23;

	pdemo = &demo;
	pdemo->salary = 2.3;

	printf("id_number:%d\n", demo.id_number);
	printf("age:%d\n", pdemo->age);
	printf("salary:%f", pdemo->salary);
	return 0;
}
